import wangEditor from 'wangeditor';

//自定义保存菜单按钮——————弃用
const { BtnMenu } = wangEditor;
export default class SaveMenu extends BtnMenu {
    editor: any;
    constructor(editor: any) {
        const $elem = wangEditor.$(`<div class="w-e-menu" title="保存(ctrl+s)"><i class="icon-floppy-disk"></i></div>`);
        super($elem, editor);
        this.editor = editor;
    }
    async clickHandler(e: any) {
        
    }
    tryChangeActive() { this.unActive() }
}